import { ref } from 'vue'
import { defineStore } from 'pinia'

export const useBreadcrumbStore = defineStore('breadcrumb', () => {
    const breadcrumb = ref<Array<string>>([])

    const setBreadcrumb = (list: Array<string>) => {
        breadcrumb.value = list
    }
    return { breadcrumb , setBreadcrumb }
})